package cn.hfkh.oop.yichang;

public class Test02{
	public static void main(String[] args){
		Person02 person = new Person02();
		  try {
		    person.setSex("Male");
		    person.print();
		  } catch (GenderException e) {
		    e.printStackTrace();
		  }

	}
}
